package com.liangplus.elasticsearch.dao;

import com.liangplus.elasticsearch.entity.pojo.UserP;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface UserPDao {
    List<UserP> selectAll();

    int deleteByPrimaryKey(Long userId);

    int insert(UserP record);

    int insertSelective(UserP record);

    UserP selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(UserP record);

    int updateByPrimaryKey(UserP record);
}